#include "SampleDialog.h"
#include "ui_SampleDialog.h"

SampleDialog::SampleDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::SampleDialog)
{
    ui->setupUi(this);
}

SampleDialog::~SampleDialog()
{
    delete ui;
}

void SampleDialog::setDebugInfo(QString s)
{
    this->ui->DebugInfo_Label->setText(s);
}

void SampleDialog::setImage(QImage img)
{
    this->ui->SamplePreviewLabel->setPixmap(QPixmap::fromImage(img));
}
